<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <script type="text/javascript">
    	function aaa(){
    		var number = document.getElementById("yeshu").innerHTML;
    		number++;
    		document.getElementById("yeshu").innerHTML=number;
    	}
    	
    	function jiji(){
    		var c=window.event.srcElement.id;
    		location.href="StudentList.jsp?id="+c;
    	}
    </script>
  </head>
  
  <body>
    班级列表 <br>
    <table ">
    <tr>
    <td>班级编号</td>
    <td>班级名称</td>
    </tr>
    <tr>
    <td>1</td>
    <td><a id="1" onclick="jiji()">鸡鸡2班</a></td>
    </tr>
    <tr>
    <td>2</td>
    <td><a id="2" onclick="jiji()">软工3班<</a>/td>
    </tr>
    <tr>
    <td>3</td>
    <td>信管1班</td>
    </tr>
    <tr>
    <td>4</td>
    <td><a herf="">地信1班</a></td>
    </tr>
    </table>
    <button name="id" onclick="aaa()">下一页</button>
    <a id="yeshu">1</a>/30
    
    
  </body>
</html>
